package org.tloss.web.spring;

import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name = "view-mapping")
@XmlAccessorType(XmlAccessType.PROPERTY)
public class ViewMapping {
	private List<FormMapping> formMappings;
	@XmlElementWrapper(name="form-mappings")
	@XmlElement(name="form-mapping")
	public List<FormMapping> getFormMappings() {
		return formMappings;
	}

	public void setFormMappings(List<FormMapping> formMappings) {
		this.formMappings = formMappings;
	}
}
